package com.zzyl.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.base.BaseEntity;
import com.zzyl.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor

/**
 * 护理项目视图对象，用于展示护理项目的详细信息。
 */
@ApiModel(description = "护理项目视图对象")
public class NursingProjectVo extends BaseVo {

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号", example = "1")
    private Long id;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss")
    @ApiModelProperty(value = "创建时间", example = "2023-09-26 15:08:59")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss")
    @ApiModelProperty(value = "更新时间", example = "2023-10-28 01:59:27")
    private LocalDateTime updateTime;

    /**
     * 创建者ID
     */
    @ApiModelProperty(value = "创建者ID", example = "1671403256519078153")
    private Long createBy;

    /**
     * 创建者姓名
     */
    @ApiModelProperty(value = "创建者姓名", example = "行政专员")
    private String creator;

    /**
     * 护理项目名称
     */
    @ApiModelProperty(value = "护理项目名称", example = "翻身拍背")
    private String name;

    /**
     * 排序号
     */
    @ApiModelProperty(value = "排序号", example = "1")
    private Integer orderNo;

    /**
     * 单位
     */
    @ApiModelProperty(value = "单位", example = "次")
    private String unit;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格", example = "30.00")
    private BigDecimal price;

    /**
     * 图片链接
     */
    @ApiModelProperty(value = "图片链接", example = "https://yjy-slwl-oss.oss-cn-hangzhou.aliyuncs.com/424a475d-76b1-4c57-b430-60293901ef79.jpg")
    private String image;

    /**
     * 护理要求
     */
    @ApiModelProperty(value = "护理要求", example = "帮助患者翻身，并进行背部按摩，以促进血液循环")
    private String nursingRequirement;

    /**
     * 状态（0：禁用，1：启用）
     */
    @ApiModelProperty(value = "状态（0：禁用，1：启用）", example = "0")
    private Integer status;

    /**
     * 执行次数
     */
    @ApiModelProperty(value = "执行次数", example = "2")
    private Integer count;
}